import { request } from '../../index'

export function login ({ code }) {
	return request({
		url: 'user/wxapp/authorize',
		method: 'POST',
		data: { code }
	})
}
